package FloorComponents;

import java.awt.Point;
import java.awt.Rectangle;

import org.jhotdraw.framework.HandleEnumeration;
import org.jhotdraw.standard.CompositeFigure;

import DimensionTools.DoorDimensionTool;
import DimensionTools.WindowDimensionTool;

public class Door extends CompositeFigure implements FloorPlanComponents {
	
	protected int _topLeftX;
	protected int _topLeftY;
	protected int _bottomRightX;
	protected int _bottomRightY;
	
	public Door(int topX, int topY, int botX, int botY){
		_topLeftX = topX;
		_topLeftY = topY;
		_bottomRightX = botX;
		_bottomRightY = botY;
	}
	
	@Override
	public void create() {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete() {
		// TODO Auto-generated method stub

	}

	
	public void adjust(int topX, int topY, int botX, int botY) {
		_topLeftX = topX;
		_topLeftY = topY;
		_bottomRightX = botX;
		_bottomRightY = botY;
	}

	@Override
	public void rotate() {
		// TODO Auto-generated method stub

	}
	
	public void displayBox(Point origin, Point Corner){
		
	}

	@Override
	public void displayBox(Point topOrigin, Point topCorner, Point botOrigin,
			Point botCorner) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void basicDisplayBox(Point origin, Point corner) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Rectangle displayBox() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public HandleEnumeration handles() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public void openDimensionTool(DimensionableFigure parent) {
		System.out.println("OpeningDtool");
		// TODO Auto-generated method stub
		
	}

	

}
